<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="com.bs.entity.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<script type="text/javascript">
			var m = "";
			function menu(num){
				sub = eval("sub_"+num+".style");
				if(m != sub){
					if(m != ""){
						m.display = "none";
					}
					sub.display='block';
					m = sub;
				}else{
					sub.display = "none";
					m = "";
				}
			}
		</script>
		<link rel="stylesheet" type="text/css" href="css/styles.css">
	  
</head>
  <body>
  
    <table border="0" width="200" height="100%" align="right" cellSpacing="0" cellPadding="0" bgcolor="#E0FBC4">
    	<!-- 药品管理 -->
    	<tr>
			<td onClick="menu(0)" height="33" background="image/m1.jpg">
				<font class="m1">
				<b><font size="">药品信息管理</font></b>
				</font>
			</td>
		</tr>
		<tr bgcolor="#E0FBC4">
			<td id="sub_0" style="display: none;">
				<table width="80%" align="center">
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="add.action" target="main"    style="text-decoration: none;" class="sub1">新增药品</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="querymedicine.action" target="main"  style="text-decoration: none;" class="sub1">药品查询</a>
							
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="<%=request.getContextPath()%>/medicineinfo/querymedicine.jsp" style="text-decoration: none;" target="main"  class="sub1">高级查询</a>
						</td>
					</tr>
					
				</table>
			</td>
		</tr>
    	<!-- 类别管理 -->
    	<tr>
			<td onClick="menu(1)" height="33" background="image/m1.jpg">
				<font class="m1">
				<b><font>药品类别管理</font></b>	
				</font>
			</td>
		</tr>
		<tr bgcolor="#E0FBC4">
			<td id="sub_1" style="display: none">
				<table width="80%" align="center">
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="./medicinecategory/addmedicinecategory.jsp" target="main" style="text-decoration: none;" class="sub1">新增类别</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="querycategory.action" target="main" style="text-decoration: none;" class="sub1">类别查询</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="#"  style="text-decoration: none;" class="sub1">
								类别统计
							</a>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<!-- 销售管理 -->
    	<tr>
			<td onClick="menu(2)" height="33" background="image/m1.jpg">
				<font class="m1">
				<b><font>药品库存管理</font></b>
				</font>
			</td>
		</tr>
		<tr bgcolor="#E0FBC4">
			<td id="sub_2" style="display: none">
				<table width="80%" align="center">
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="registerin.action" target="main" style="text-decoration: none;" class="sub1">药品入库登记</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="registerout.action" target="main"  style="text-decoration: none;" class="sub1">药品出库登记</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="showinlist.action" target="main"  style="text-decoration: none;" class="sub1">药品入库记录</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="showoutlist.action" target="main" style="text-decoration: none;" class="sub1">药品出库记录</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="showstorage.action" target="main" style="text-decoration: none;"  class="sub1">库存查询</a>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		
		<!-- 病人病历 -->
    	<tr>
			<td onClick="menu(3)" height="33" background="image/m1.jpg">
				<font class="m1">
				<b><font>病历管理</font></b>
				</font>
			</td>
		</tr>
		<tr bgcolor="#E0FBC4">
			<td id="sub_3" style="display: none">
				<table width="80%" align="center">
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="addrecord.action"  target="main"  style="text-decoration: none;" class="sub1">新增病历</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="./medicalrecord/medicalrecordlist.jsp" target="main"  style="text-decoration: none;" class="sub1">查询病历</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="./medicalrecord/adduser.jsp" target="main"   style="text-decoration: none;"class="sub1">新建用户</a>
						</td>
					</tr>
			
				</table>
			</td>
		</tr>
		
	<!-- 系统管理 -->
    	<tr>
			<td onClick="menu(5)" height="33" background="image/m1.jpg">
				<font class="m1">
				<b><font>系统管理</font></b>
				</font>
			</td>
		</tr>
		<tr bgcolor="#E0FBC4">
			<td id="sub_5" style="display: none">
				<table width="80%" align="center">
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="./system/adduser.jsp" target="main"  style="text-decoration: none;" class="sub1">添加用户</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="./system/userlist.jsp" target="main" style="text-decoration: none;" class="sub1">查询用户</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="./system/modifypwd.jsp"  target="main" style="text-decoration: none;" class="sub1">修改密码</a>
						</td>
					</tr>
					<tr>
						<td height="22" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''">
							<a href="#"style="text-decoration: none;" class="sub1">系统退出</a>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="100%"></td>
		</tr>
	</table>
  </body>
</html>
